import query from './atom/db/query';
import count from './atom/db/count';

declare const action_id: string;
declare const session_id: string;
declare const spaceid: string;

interface Message {
}

async function atom(msg: Message) {
	const systemid = '5991';
	const q = query(action_id, session_id, spaceid, systemid);
	q.prepare('gmpropvalue', ['bstype', 'attr_value', 'attr_name'], { bstype: "老师类型" }, 0, 1, ['attr_name'], []);
	const t = await q.exec();
	return t[0];
}
